(prompt "Copio 'EasyPrint' in " eprint-dest "EasyPrint/...")
(source "EasyPrint/")
(dest (tackon eprint-dest "EasyPrint"))
(all)
)
(copyfiles
(prompt "Copio 'EasyPrint' in " eprint-dest "EasyPrint/...")
(source "EasyPrint.guide")
(dest (tackon eprint-dest "EasyPrint"))
)
(copyfiles
(prompt "Copio 'EasyPrint' in " eprint-dest "EasyPrint/...")
(source "EasyPrint_ITA.guide")
(dest (tackon eprint-dest "EasyPrint"))
)
(if (exists ("env:sys/def_drawer.info"))
(copyfiles
(prompt "Copio 'EasyPrint' in " eprint-dest "EasyPrint/...")
(source "env:sys/def_drawer.info")
(dest eprint-dest)
(newname "EasyPrint.info")
(noposition)
(nogauge)
)
)
)
(
(if (< (/ (getversion) 65536) 39) (abort "EasyPrint need at least OS 3.0"))
(message
(cat "\n\n\nEasyPrint, installation script.\n\n"
"This script installs EasyPrint on your Amiga.\n\n"
"(C) Copyright 1995-1996 by Andrea Latina\nAll rights reserved."
)
)
; Ask where to copy the library.
(set lib-dest
(askdir
(prompt "Select directory where to install the libraries (copies the libraries using version checking).")
(help " Copies the libraries using version checking; i.e., it only overwrites an existing library if the new library has a higher version/revision number.")
(default lib-def-dest)
)
)
; Copy the library.
(copylib
(prompt (cat "Copying reqtools.library to " lib-dest))
(help @copylib-help)
(source "libs/reqtools.library")
(dest lib-dest)
(confirm)
)
(copylib
(prompt (cat "Copying iff.library to " lib-dest ))
(help @copylib-help)
(source "libs/iff.library")
(dest lib-dest)
(confirm)
)
(set eprint-dest
(askdir
(prompt "Select directory where to install EasyPrint (a directory called `EasyPrint` will be created here).")
(help " If you specify a path, a new directory called `EasyPrint` will be created in it. The program will be copied in this directory.")